package com.yike.user.vo.wx;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@ApiModel(value = "微信小程序授权登录信息")
public class WxAppLoginVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("会话密钥")
    private String session_key;

    @ApiModelProperty("用户在开放平台的唯一标识符,当前小程序已绑定到微信开放平台账号下会返回")
    private String unionid;

    @ApiModelProperty("错误信息")
    private String errmsg;

    @ApiModelProperty("用户唯一标识")
    private String openid;

    @ApiModelProperty("错误码")
    private Integer errcode;

    @ApiModelProperty("普通用户昵称")
    private String nickname;

    @ApiModelProperty("用户头像")
    private String headimgurl;

}
